<?php

namespace app\common\model;

use think\Model;

/*车品超市订单*/

class MarketOrderModel extends Model
{
    //获取该订单下的详情
    public function getOrderDetails()
    {
        return $this->hasMany('MarketOrderDetailsModel', 'order_id');
    }
}
